package cn.com.lsy.product.lepao.service;

import cn.com.lsy.product.lepao.model.entities.LpEquipmentInfoTbl;
import cn.com.lsy.product.lepao.model.entities.LpEquipmentLogsTbl;

import java.util.List;

public interface IDeviceService {

    List<LpEquipmentInfoTbl> selectStoreDeviceList(int storeId);

    LpEquipmentInfoTbl selectDeviceInfo(int id);

    boolean updateDevice(LpEquipmentInfoTbl param);

    List<LpEquipmentInfoTbl> selectStoreDeviceListByDevId(String deviceId);

    boolean addDevice(LpEquipmentInfoTbl param, String uuid);

    boolean delDevice(int id);

    boolean clearStateOrUserId(int storeId);

    List<LpEquipmentLogsTbl> selectEquipmentLogsByUser(int userId);
}

